object DM: TDM
  OldCreateOrder = False
  OnCreate = DataModuleCreate
  Height = 120
  Width = 487
  object HTTP: TIdHTTP
    AllowCookies = True
    ProxyParams.BasicAuthentication = False
    ProxyParams.ProxyPort = 0
    Request.ContentLength = -1
    Request.ContentRangeEnd = -1
    Request.ContentRangeStart = -1
    Request.ContentRangeInstanceLength = -1
    Request.Accept = 'text/html, */*'
    Request.BasicAuthentication = False
    Request.UserAgent = 'Mozilla/3.0 (compatible; Indy Library)'
    HTTPOptions = [hoForceEncodeParams]
    Left = 24
    Top = 64
  end
  object DB: TpFIBDatabase
    DBName = 'C:\Users\Glaucio\Desktop\bovespa\trader\dados.fdb'
    DBParams.Strings = (
      'user_name=SYSDBA'
      'password=masterkey'
      'lc_ctype=WIN1252')
    SQLDialect = 3
    Timeout = 0
    WaitForRestoreConnect = 0
    Left = 24
    Top = 8
  end
  object QryCotacoesDiarias: TpFIBQuery
    Transaction = TrCotacoesDiarias
    Database = DB
    SQL.Strings = (
      'UPDATE OR INSERT INTO COTACOES_DIARIAS('
      '    ACAO,'
      '    DATA,'
      '    HORA,'
      '    VALOR'
      ')'
      'VALUES('
      '    :ACAO,'
      '    :DATA,'
      '    :HORA,'
      '    :VALOR'
      ')')
    Left = 290
    Top = 8
  end
  object TrCotacoesDiarias: TpFIBTransaction
    DefaultDatabase = DB
    TimeoutAction = TARollback
    TRParams.Strings = (
      'write'
      'nowait'
      'rec_version'
      'read_committed')
    TPBMode = tpbDefault
    Left = 192
    Top = 8
  end
  object Timer1: TTimer
    Enabled = False
    OnTimer = Timer1Timer
    Left = 361
    Top = 8
  end
  object TrCotacoes: TpFIBTransaction
    DefaultDatabase = DB
    TimeoutAction = TARollback
    TRParams.Strings = (
      'write'
      'nowait'
      'rec_version'
      'read_committed')
    TPBMode = tpbDefault
    Left = 192
    Top = 65
  end
  object QryCotacoes: TpFIBQuery
    Transaction = TrCotacoes
    Database = DB
    SQL.Strings = (
      'UPDATE OR INSERT INTO COTACOES('
      '    ACAO,'
      '    DATA,'
      '    ABERTURA,'
      '    ENCERRAMENTO,'
      '    MAXIMO,'
      '    MINIMO '
      ')'
      'VALUES('
      '    :ACAO,'
      '    :DATA,'
      '    :ABERTURA,'
      '    :ENCERRAMENTO,'
      '    :MAXIMO,'
      '    :MINIMO'
      ')')
    Left = 291
    Top = 65
  end
  object Zip: TZipForge
    ExtractCorruptedFiles = False
    CompressionLevel = clFastest
    CompressionMode = 1
    CurrentVersion = '5.06 '
    SpanningMode = smNone
    SpanningOptions.AdvancedNaming = False
    SpanningOptions.VolumeSize = vsAutoDetect
    Options.FlushBuffers = True
    Options.OEMFileNames = True
    InMemory = False
    Zip64Mode = zmDisabled
    UnicodeFilenames = False
    EncryptionMethod = caPkzipClassic
    Left = 416
    Top = 8
  end
end
